import request from '@/utils/request'
/**
 * banner
 */
const bannerApi = {
	// 获取banner
	selectBanner: async (classify) => {
		return  await request({
			url: '/app/banner/selectBannerList?classify=' + classify,
			method: 'get'
		})
	},
	// 点击banner
	clickBanner: (bannerId) => {
		return request({
			url: '/app/banner/clickBanner?bannerId=' + bannerId ,
			method: 'get',
		})
	}
	
}

export default bannerApi;